const express=require('express')
const router=express.Router()
const systemHandler=require('../router_handler/system')


router.post('/getRouter',systemHandler.reqMenu)
router.post('/system/getRoles',systemHandler.reqGetRolesList)
router.post('/system/addRoles',systemHandler.reqAddRoles)
router.post('/system/delRoles',systemHandler.reqDeleteRoles)
router.post('/system/editRoles',systemHandler.reqEditRoles)
router.get('/system/allRoles',systemHandler.reqGetRolesAll)
router.post('/system/getUser',systemHandler.reqGetUser)
router.post('/system/addUser',systemHandler.reqAddUser)
router.post('/system/editUser',systemHandler.reqEditUser)
router.post('/system/delUser',systemHandler.reqDeleteUser)
router.post('/system/changeUser',systemHandler.reqChangeUser)
router.post('/system/addMenu',systemHandler.reqAddMenu)
router.post('/system/editMenu',systemHandler.reqEditMenu)
router.post('/system/delMenu',systemHandler.reqDelMenu)


module.exports=router